package com.sujinyang.stateless_service.common;

import javax.servlet.http.HttpServletRequest;

public class BaseMethod {

    //基础方法用来获请求里的用户信息
    public static String getUser(HttpServletRequest request) {
        return request.getParameter(Constans.PARAM_USERNAME);
    }
}
